package cn.t.dto.api;

import com.google.common.collect.Lists;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 企业站调用本服务的入参
 */
@Data
public class SmsWorkOrderNotifyDTO implements Serializable {

    private List<MailInfo> mails = Lists.newArrayList();
    private List<String> phones = Lists.newArrayList();

    /**
     * 工单号
     */
    private String quoteNo;

    /**
     * 忽略
     */
    private String shortLink;


    @Data
    @AllArgsConstructor
    public static class MailInfo {

        private String mail;

        /**
         * 同意的地址
         */
        private String agreeUrl;

        /**
         *拒绝的地址
         */
        private String rejectUrl;
    }
}
